package com.qfedu.openplateform.manager.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author menglili
 */
@Data
@JsonInclude(value = JsonInclude.Include.NON_NULL)
public class UserToken {
    private Integer appId;
    private Integer id;
    private Integer cusId;
    private String accessToken;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date expireTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

}
